package cn.topcodes.tcsf.cms.domain.entity;

import cn.topcodes.tcsf.admin.commons.domain.IdEntity;
import lombok.Data;
import javax.persistence.Table;

/**
 * 栏目
 * @author Unicorn
 * @date 2017-12-25 22:51:09
 */
@Data
@Table(name="t_cms_site_column")
public class SiteColumn extends IdEntity {
	
	public static final String FIELD_NAME = "name";

	public static final String FIELD_SORT = "sort";

	public static final String FIELD_PARENT_ID = "parentId";

	public static final String FIELD_TYPE = "type";

	public static final String FIELD_CATALOG_ID = "catalogId";

	/**
	 * 栏目类型 - 单页
	 */
	public static final String TYPE_PAGE = "Page";

	/**
	 * 栏目类型 - 文章
	 */
	public static final String TYPE_ARTICLE = "Article";

	/**
	 * 栏目类型 - 产品
	 */
	public static final String TYPE_PRODUCTION = "Production";

	/**
	 * 栏目类型 - 客户案例
	 */
	public static final String TYPE_CASE = "Case";

	/**
	 * 栏目类型 - 下载中心
	 */
	public static final String TYPE_DOWNLOAD = "Download";

	
	private String name;		//	名称
	
	private Integer sort;		//	排序
	
	private Long parentId;		//	父级栏目
	
	private String type;		//	栏目类型
	
	private Long catalogId;		//	关联分类

}